﻿using AutomaticPush.Common;
using AutomaticPush.Extension;
using AutomaticPush.Models.DaZhang;
using AutoPushExt.Common;
using AutoPushExt.Models.ERP;

namespace AutoPushExt.DAL
{
    public class DazhangDAL : BaseDAL
    {
        public bool UpdateReceiveInfo(string ReceiveId)
        {
            try
            {
                var sdn = AppConfig.GetOdbcConString("ERP");
                string sql = $"UPDATE Test SET statu = 52 WHERE id='{ReceiveId}'";
            }
            catch (Exception ex)
            {
                LogHelper.WriteLog("UpdateReceiveInfo_ex", ex.Message, "SqlErrLog");
            }
            return false;
        }

    }
}